package com.zmn.plat.business.interfaces.channel;

import java.util.List;

import com.zmn.common.dto.StatusDTO;
import com.zmn.plat.model.entity.channel.ChannelInterface;

/**
 * 描述:ChannelInterfaceBService
 *
 * @author tanghongjun
 * @since: 2018/10/16 17:56
 */
public interface ChannelInterfaceBService {

    /**
     * 描述:
     *
     * @param interfaceId
     *            接口ID
     * @param status
     *            状态
     * @param updater
     *            修改者
     * @return:
     * @auther: tanghongjun
     * @since: 2018/10/22 14:02
     */
    Integer updateStatus(Integer interfaceId, Integer status, String updater);

    /**
     * 描述:
     *
     * @param channelInterface
     * @return:
     * @auther: tanghongjun
     * @since: 2018/10/22 14:02
     */
    Integer updateStatus(ChannelInterface channelInterface);

    /**
     * 描述:
     *
     * @param interfaceIds
     *            接口ID集合
     * @param status
     *            状态
     * @param updater
     *            修改者
     * @return:
     * @auther: tanghongjun
     * @since: 2018/10/22 14:02
     */
    Integer updateStatusBatch(List<Integer> interfaceIds, Integer status, String updater);

    /**
     * 描述:
     *
     * @param dto
     * @return:
     * @auther: tanghongjun
     * @since: 2018/10/22 14:08
     */
    Integer updateStatusBatch(StatusDTO dto);

}
